package cn.eaay.stock.mapper;

import cn.eaay.stock.pojo.StockBusiness;
import cn.eaay.stock.vo.stock.StockBusinessVo;

import java.util.List;

/**
 * @author yangjiachang
 * @description 针对表【stock_business(主营业务表)】的数据库操作Mapper
 * @createDate 2022-02-12 16:02:46
 * @Entity cn.eaay.stock.pojo.StockBusiness
 */
public interface StockBusinessMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBusiness record);

    int insertSelective(StockBusiness record);

    StockBusiness selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBusiness record);

    int updateByPrimaryKey(StockBusiness record);

    /**
     * 根据股票代码查询股票业务信息
     *
     * @param code 股票代码
     * @return
     */
    StockBusinessVo selectStockDescribe(String code);
}
